package university;
/**
 *  Class that describes theoretical studies
 *  @author anatolii.bondarenko
 */

class Lecture extends AuditoriumClass{
    /**
     * Details for lecture
     * @param d is discipline
     * @param gr list of groups that will listen to theoretical material
     * @param ev time and place of lecture
     */
    public Lecture(Discipline d, Group gr, LessonEvent ev){
        super(d, gr, ev);
	}


    /**
     * Get details of lecture in string format
     * @return details of lecture
     */
    @Override
    public String toString(){
        return super.getDiscipline().getDisciplineName() + ". Teaher " + super.getDiscipline().getTeacher().getName() + ". Lecture." ;
	}

}